<template>
  <div>
    <h2>张三的快乐生活</h2>
    <p v-text="uname"></p>
    <p>年龄：{{ age }} 岁</p>
    <p v-html="info"></p>
  </div>
</template>

<script>
export default {
  data() {
    return {
      uname: "张三",
      age: 12,
      info: "我是一个快乐的<strong>小孩<strong>",
    };
  },
};
</script>